﻿using System.Web.Mvc;

namespace Our.Umbraco.Web.PropertyEditors.Markdown
{
    public static class MarkdownHtmlHelper
    {
        public static MvcHtmlString MarkdownToHtml(this string value)
        {
            var markdown = new Markdown();
            return new MvcHtmlString(markdown.Transform(value));
        }
    }
}
